<template>
	<view @click="webview">
		<view class="agree-tag-text">《{{tips}}》</view>
	</view>
</template>

<script>
	export default {
		name: "agreeTag",
		props: {
			tips: {
				type: String,
				default: ''
			},
			url: {
				type: String,
				default: ''
			}
		},
		data() {
			return {

			};
		},
		methods: {
			webview() {
				uni.navigateTo({
					url: '/pages/webView/webView?url=' + this.url
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.agree-tag-text {
		color: var(--themeDefultFontColor);
		font-size: 24rpx;
	}
</style>